package com.example.yixueban.req.main;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

/**
 * User: Wang YiHan
 * Date: 2021/8/9 19:38
 * Email: 783096044@qq.com
 * File_Name: null.java
 **/
@Data
@AllArgsConstructor
@Builder
public class Register_Req {  //user和teacher的登录请求类
    private String user_number;  //账号
    //@Pattern(regexp = "^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,32}$", message = "【密码】规则不正确")
    private String password;   //密码

    private String telephone;  //手机号

    private String code;    //验证码

    private String identity;   //身份  0 为用户，1为教师
}
